package com.pro.xwt.common.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.pro.xwt.common.mapper.BTokenMapper;
import com.pro.xwt.common.model.BToken;
import com.pro.xwt.common.model.BTokenKey;
import com.pro.xwt.common.service.BTokenService;
@Service("tokenService")
public class BTokenServiceImpl implements BTokenService{
	@Autowired
	BTokenMapper bTokenMapper;
	
	public int insert(BToken bToken) {
		return bTokenMapper.insert(bToken);
	}

	public BToken select(BToken bToken) {

		return bTokenMapper.select(bToken);
	}

	public BToken selectByPrimaryKey(BTokenKey key) {
		
		return bTokenMapper.selectByPrimaryKey(key);
	}
	
	
	
}
